package com.yike.user.param;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yike.common.api.Update;
import com.yike.common.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * 设备表
 *
 * @author yike
 * @since 2024-07-19
 */
@Data
@Accessors(chain = true)
public class InitMachineParam implements Serializable {
    private static final long serialVersionUID = 1L;

    @NotBlank(message = "设备号不能为空")
    @ApiModelProperty(value = "设备号", required = true)
    private String macNo;

    @ApiModelProperty(value = "getSalt()接口获取的saltKey值", required = true)
    @NotBlank(message = "saltKey不能为空")
    private String saltKey;

}
